package com.laundry.lib;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Slot {

	private int id;
	private String from;
	private String to;
	private boolean isUsing;
	
	public Slot(int id, String from, String to, boolean isUsing) {
		
		this.id = id;
		this.from = from;
		this.to = to;
		this.isUsing = isUsing;
	}
	
	
	public Slot() {
		
	}


	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public boolean isUsing() {
		return isUsing;
	}
	public void setUsing(boolean isUsing) {
		this.isUsing = isUsing;
	}
	
	
}
